﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="mobileroom.aspx.cs" Inherits="NWN.GDY.Web.mobileroom" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>您的位置----干瞪眼游戏房----<%= RoomName%></title>
    <link href="/Style/style_mobile.css" rel="stylesheet" type="text/css" />
    <script>
        var CurrentUser = "<%=CurrentUser %>"
        var CurrentRoomGUID = "<%=RoomGUID %>"
        var CurrentCoinID = "<%=CoinID.ToString() %>"
        var CurrentCoinName = "<%=CoinName %>"
    </script>
    <script src="/js/jquery-1.7.1.min.js" type="text/javascript"></script>
    <script src="/js/mobile_room.js" type="text/javascript"></script>
</head>
<body>
    <form id="form1" runat="server">
    <center>
        <table id="backTable">
            <tr>
                <td class="backTabletdRoom">
                    <div class="head">
                        干瞪眼----当前房间（<%= RoomName%>），用户（<%= UserNickName%>）<%if (CoinID > 0)
                                                                              { %>，游戏币（<%=CoinName%>）<%} %><span id="HeadCoinCountSpan"></span></div>
                    <div class="seperdiv">
                    </div>
                    <center>
                        <div class="tableDiv">
                            <div id="RoomTopDiv">
                                <div id="CardPositionDiv">
                                    <div id="Seat0">
                                        <div class="relativediv leftdiv">
                                            <div id="Seat0_PlayerDiv" class="hide">
                                                <div id="Seat0_CardButtonDiv" class="CardButtonDiv hide">
                                                    <div id="Seat0_CardButtonDiv_start" class="hide">
                                                        <input type="button" id="Seat0_Cardout" onclick="Cardout(0)" value="出牌" class="btn1" /><br /><br />
                                                        <input type="button" id="Seat0_Cardpass" onclick="Cardpass(0)" value="不要" class="btn2" />
                                                    </div>
                                                    <div id="Seat0_CardButtonDiv_stop" class="hide">
                                                        <input type="button" id="Seat0_CardStart" onclick="CardStart(0)" value="开始" class="btn1" /><br /><br />
                                                        <input type="button" id="Seat0_CardStand" onclick="CardStand(0)" value="站起" class="btn2" />
                                                    </div>
                                                </div>
                                                <div id="Seat0_CardUserDiv" class="CardUserDiv3">
                                                </div>
                                                <div id="Seat0_CardHeadDiv" class="CardHeadDiv">
                                                    <img src="/images/head/loading37.gif" alt="test" class="CardHeadImg" />
                                                </div>
                                                <div id="Seat0_CardCardsDiv" class="CardCardsDiv3">
                                                </div>
                                                <div id="Seat0_ChatPop" class="ChatPopUp hide">
                                                    <table border="0" cellpadding="0" cellspacing="0" class="chatcontenttable">
                                                        <tr>
                                                            <td valign="middle" class="arrowtd">
                                                                <div class="left_Arror">
                                                                </div>
                                                            </td>
                                                            <td class="chatcontenttd" id="Seat0_ChatContentTD">                                                                
                                                            </td>
                                                        </tr>
                                                    </table>
                                                </div>
                                                <div id="Seat0_ReadyDiv" class="ReadyDiv hide">
                                                    <img src="/images/ready.png" alt="" />
                                                </div>
                                            </div>
                                            <div id="Seat0_ArrowDiv" class="ArrowDiv hide">
                                                <img src="/images/arrow0.png" alt="点击此处坐下" onclick="sit(0)" />
                                            </div>
                                        </div>
                                    </div>
                                    <div id="Seat1">
                                        <div class="relativediv leftdiv">
                                            <div id="Seat1_PlayerDiv" class="hide">
                                                <div id="Seat1_CardButtonDiv" class="CardButtonDiv hide">
                                                    <div id="Seat1_CardButtonDiv_start" class="hide">
                                                        <input type="button" id="Seat1_Cardout" onclick="Cardout(1)" value="出牌" class="btn1" /><br /><br />
                                                        <input type="button" id="Seat1_Cardpass" onclick="Cardpass(1)" value="不要" class="btn2" />
                                                    </div>
                                                    <div id="Seat1_CardButtonDiv_stop" class="hide">
                                                        <input type="button" id="Seat1_CardStart" onclick="CardStart(1)" value="开始" class="btn1" /><br /><br />
                                                        <input type="button" id="Seat1_CardStand" onclick="CardStand(1)" value="站起" class="btn2" />
                                                    </div>
                                                </div>
                                                <div id="Seat1_CardUserDiv" class="CardUserDiv">
                                                </div>
                                                <div id="Seat1_CardHeadDiv" class="CardHeadDiv">
                                                    <img src="/images/head/loading37.gif" alt="test" class="CardHeadImg" />
                                                </div>
                                                <div id="Seat1_CardCardsDiv" class="CardCardsDiv">
                                                </div>
                                                <div id="Seat1_ChatPop" class="ChatPopUp hide">
                                                    <table border="0" cellpadding="0" cellspacing="0" class="chatcontenttable">
                                                        <tr>
                                                            <td valign="middle" class="arrowtd">
                                                                <div class="left_Arror">
                                                                </div>
                                                            </td>
                                                            <td class="chatcontenttd" id="Seat1_ChatContentTD">                                                                
                                                            </td>
                                                        </tr>
                                                    </table>
                                                </div>
                                                <div id="Seat1_ReadyDiv" class="ReadyDiv hide">
                                                    <img src="/images/ready.png" alt="" />
                                                </div>
                                            </div>
                                            <div id="Seat1_ArrowDiv" class="ArrowDiv hide">
                                                <img src="/images/arrow1.png" alt="点击此处坐下" onclick="sit(1)"/>
                                            </div>
                                        </div>
                                    </div>
                                    <div id="Seat2">
                                        <div class="relativediv leftdiv">
                                            <div id="Seat2_PlayerDiv" class="hide">
                                                <div id="Seat2_CardButtonDiv" class="CardButtonDiv hide">
                                                    <div id="Seat2_CardButtonDiv_start" class="hide">
                                                        <input type="button" id="Seat2_Cardout" onclick="Cardout(2)" value="出牌" class="btn1" /><br /><br />
                                                        <input type="button" id="Seat2_Cardpass" onclick="Cardpass(2)" value="不要" class="btn2" />
                                                    </div>
                                                    <div id="Seat2_CardButtonDiv_stop" class="hide">
                                                        <input type="button" id="Seat2_CardStart" onclick="CardStart(2)" value="开始" class="btn1" /><br /><br />
                                                        <input type="button" id="Seat2_CardStand" onclick="CardStand(2)" value="站起" class="btn2" />
                                                    </div>
                                                </div>
                                                <div id="Seat2_CardUserDiv" class="CardUserDiv">
                                                </div>
                                                <div id="Seat2_CardHeadDiv" class="CardHeadDiv">
                                                    <img src="/images/head/loading37.gif" alt="test" class="CardHeadImg" />
                                                </div>
                                                <div id="Seat2_CardCardsDiv" class="CardCardsDiv">
                                                </div>
                                                <div id="Seat2_ChatPop" class="ChatPopUp hide">
                                                    <table border="0" cellpadding="0" cellspacing="0" class="chatcontenttable">
                                                        <tr>
                                                            <td valign="middle" class="arrowtd">
                                                                <div class="left_Arror">
                                                                </div>
                                                            </td>
                                                            <td class="chatcontenttd" id="Seat2_ChatContentTD">                                                                
                                                            </td>
                                                        </tr>
                                                    </table>
                                                </div>
                                                <div id="Seat2_ReadyDiv" class="ReadyDiv hide">
                                                    <img src="/images/ready.png" alt="" />
                                                </div>
                                            </div>
                                            <div id="Seat2_ArrowDiv" class="ArrowDiv hide">
                                                <img src="/images/arrow2.png" alt="点击此处坐下" onclick="sit(2)" />
                                            </div>
                                        </div>
                                    </div>
                                    <div id="Seat3">
                                        <div class="relativediv leftdiv">
                                            <div id="Seat3_PlayerDiv" class="hide">
                                                <div id="Seat3_CardButtonDiv" class="CardButtonDiv3 hide">
                                                    <div id="Seat3_CardButtonDiv_start" class="hide">
                                                        <input type="button" id="Seat3_Cardout" onclick="Cardout(3)" value="出牌" class="btn1" /><br /><br />
                                                        <input type="button" id="Seat3_Cardpass" onclick="Cardpass(3)" value="不要" class="btn2" />
                                                    </div>
                                                    <div id="Seat3_CardButtonDiv_stop" class="hide">
                                                        <input type="button" id="Seat3_CardStart" onclick="CardStart(3)" value="开始" class="btn1" /><br /><br />
                                                        <input type="button" id="Seat3_CardStand" onclick="CardStand(3)" value="站起" class="btn2" />
                                                    </div>
                                                </div>
                                                <div id="Seat3_CardUserDiv" class="CardUserDiv3">
                                                </div>
                                                <div id="Seat3_CardHeadDiv" class="CardHeadDiv">
                                                    <img src="/images/head/loading37.gif" alt="test" class="CardHeadImg" />
                                                </div>
                                                <div id="Seat3_CardCardsDiv" class="CardCardsDiv3">
                                                </div>
                                                <div id="Seat3_ChatPop" class="ChatPopUp hide">
                                                    <table border="0" cellpadding="0" cellspacing="0" class="chatcontenttable">
                                                        <tr>
                                                            <td class="chatcontenttd" id="Seat3_ChatContentTD">                                                                
                                                            </td>
                                                            <td valign="middle" class="arrowtd">
                                                                <div class="Right_Arror">
                                                                </div>
                                                            </td>
                                                        </tr>
                                                    </table>
                                                </div>
                                                <div id="Seat3_ReadyDiv" class="ReadyDiv3 hide">
                                                    <img src="/images/ready.png" alt="" />
                                                </div>
                                            </div>
                                            <div id="Seat3_ArrowDiv" class="ArrowDiv hide">
                                                <img src="/images/arrow3.png" alt="点击此处坐下" onclick="sit(3)" />
                                            </div>
                                        </div>
                                    </div>
                                    <div id="Seat4">
                                        <div class="relativediv leftdiv">
                                            <div id="Seat4_PlayerDiv" class="hide">
                                                <div id="Seat4_CardButtonDiv" class="CardButtonDiv hide">
                                                    <div id="Seat4_CardButtonDiv_start" class="hide">
                                                        <input type="button" id="Seat4_Cardout" onclick="Cardout(4)" value="出牌" class="btn1" /><br /><br />
                                                        <input type="button" id="Seat4_Cardpass" onclick="Cardpass(4)" value="不要" class="btn2" />
                                                    </div>
                                                    <div id="Seat4_CardButtonDiv_stop" class="hide">
                                                        <input type="button" id="Seat4_CardStart" onclick="CardStart(4)" value="开始" class="btn1" /><br /><br />
                                                        <input type="button" id="Seat4_CardStand" onclick="CardStand(4)" value="站起" class="btn2" />
                                                    </div>
                                                </div>
                                                <div id="Seat4_CardUserDiv" class="CardUserDiv4">
                                                </div>
                                                <div id="Seat4_CardHeadDiv" class="CardHeadDiv">
                                                    <img src="/images/head/loading37.gif" alt="test" class="CardHeadImg" />
                                                </div>
                                                <div id="Seat4_CardCardsDiv" class="CardCardsDiv">
                                                </div>
                                                <div id="Seat4_ChatPop" class="ChatPopUp hide">
                                                    <table border="0" cellpadding="0" cellspacing="0" class="chatcontenttable">
                                                        <tr>
                                                            <td valign="middle" class="arrowtd">
                                                                <div class="left_Arror">
                                                                </div>
                                                            </td>
                                                            <td class="chatcontenttd" id="Seat4_ChatContentTD">                                                                
                                                            </td>
                                                        </tr>
                                                    </table>
                                                </div>
                                                <div id="Seat4_ReadyDiv" class="ReadyDiv hide">
                                                    <img src="/images/ready.png" alt="" />
                                                </div>
                                            </div>
                                            <div id="Seat4_ArrowDiv" class="ArrowDiv hide">
                                                <img src="/images/arrow4.png" alt="点击此处坐下" onclick="sit(4)" />
                                            </div>
                                        </div>
                                    </div>
                                    <div id="Seat5">
                                        <div class="relativediv leftdiv">
                                            <div id="Seat5_PlayerDiv" class="hide">
                                                <div id="Seat5_CardButtonDiv" class="CardButtonDiv hide">
                                                    <div id="Seat5_CardButtonDiv_start" class="hide">
                                                        <input type="button" id="Seat5_Cardout" onclick="Cardout(5)" value="出牌" class="btn1" /><br /><br />
                                                        <input type="button" id="Seat5_Cardpass" onclick="Cardpass(5)" value="不要" class="btn2" />
                                                    </div>
                                                    <div id="Seat5_CardButtonDiv_stop" class="hide">
                                                        <input type="button" id="Seat5_CardStart" onclick="CardStart(5)" value="开始" class="btn1" /><br /><br />
                                                        <input type="button" id="Seat5_CardStand" onclick="CardStand(5)" value="站起" class="btn2" />
                                                    </div>
                                                </div>
                                                <div id="Seat5_CardUserDiv" class="CardUserDiv4">
                                                </div>
                                                <div id="Seat5_CardHeadDiv" class="CardHeadDiv">
                                                    <img src="/images/head/loading37.gif" alt="test" class="CardHeadImg" />
                                                </div>
                                                <div id="Seat5_CardCardsDiv" class="CardCardsDiv">
                                                </div>
                                                <div id="Seat5_ChatPop" class="ChatPopUp hide">
                                                    <table border="0" cellpadding="0" cellspacing="0" class="chatcontenttable">
                                                        <tr>
                                                            <td valign="middle" class="arrowtd">
                                                                <div class="left_Arror">
                                                                </div>
                                                            </td>
                                                            <td class="chatcontenttd" id="Seat5_ChatContentTD">                                                                
                                                            </td>
                                                        </tr>
                                                    </table>
                                                </div>
                                                <div id="Seat5_ReadyDiv" class="ReadyDiv hide">
                                                    <img src="/images/ready.png" alt="" />
                                                </div>
                                            </div>
                                            <div id="Seat5_ArrowDiv" class="ArrowDiv hide">
                                                <img src="/images/arrow5.png" alt="点击此处坐下" onclick="sit(5)" />
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                <div id="CenterDiv">
                                    <div id="CenterCardBack"></div>
                                    <div id="CurrentPlayerInfo" class="hide">剩余时间：<span id="LeftSecondSpan"></span>秒</div>
                                    <div id="CenterResultDiv" class="hide">
                                        <h4>
                                            <a href="#" class="close" title="close">
                                                <img alt="关闭" src="/images/btn_close.png" onclick="closeresult()" /></a>
                                        </h4>
                                        <div id="Result_ContentDIV">
                                            <table id="Result_ContentTable">
                                            </table>
                                        </div>
                                    </div>
                                    <div id="Seat0_OutCardsDiv" class="Seat_OutCards">
                                    </div>
                                    <div id="Seat1_OutCardsDiv" class="Seat_OutCards">
                                    </div>
                                    <div id="Seat2_OutCardsDiv" class="Seat_OutCards">
                                    </div>
                                    <div id="Seat3_OutCardsDiv" class="Seat_OutCards">
                                    </div>
                                    <div id="Seat4_OutCardsDiv" class="Seat_OutCards">
                                    </div>
                                    <div id="Seat5_OutCardsDiv" class="Seat_OutCards">
                                    </div>
                                </div>
                            </div>
                            <div id="RoomBottomDiv">
                                <div id="CardList">
                                
                                </div>
                                <div id="PlayerList">
                                
                                </div>
                                <div id="ChatList">
                                
                                </div>
                                <div id="ChatInput">
                                    <table border="0" cellpadding="0" cellspacing="0" class="ChatInputtable">
                                        <tr>
                                            <td>
                                                <textarea id="chatinputarea" maxLength="100" onclick="$('#chatinputarea').focus()" onkeypress="return KeyPressChat(event)"></textarea>
                                            </td>
                                            <td>
                                                <input type="button" id="chatinputbtn" onclick="SendMsg()" value="发送" class="chatinputbtn" />                                                         </td>
                                        </tr>
                                    </table>
                                </div>
                            </div>
                        </div>
                    </center>
                </td>
            </tr>
        </table>
    </center>
    </form>
</body>
</html>
